package com.dup.jxlh.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dup.jxlh.admin.entities.model.ChapterAttach;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.math.BigInteger;
import java.util.ArrayList;

@Mapper
public interface ChapterAttachMapper extends BaseMapper<ChapterAttach> {
    @Select("select * from chapter_attach where chapter_apply_id = #{chapterApplyId}")
    ArrayList<ChapterAttach> getChapterAttachList(@Param("chapterApplyId")BigInteger chapterApplyId);
}
